package com.hcy.manager.dto.request;

import com.hcy.rabbitbasicmodel.signl.Add;
import com.hcy.rabbitbasicmodel.signl.Delete;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @Author huchenying
 * @Description
 * @Date 2022/4/27
 **/
@Data
public class CarTypeRequestDTO {

    @NotNull(groups = Delete.class)
    private Integer id;

    private Integer status;


    /**
     * 品牌
     */
    @NotNull(groups = {Add.class})
    private String brand;

    /**
     * 型号
     */
    @NotNull(groups = {Add.class})
    private String model;

    /**
     * 座位数量
     */
    @NotNull(groups = {Add.class})
    private Integer seats;

    @NotNull(groups = {Add.class})
    private String typeDesc;

    /**
     * 车型图片地址
     */
    @NotNull(groups = {Add.class})
    private String imgUrl;

    /**
     * 操作人
     */
    private Integer operatorId;
}
